package com.card.framework.mybatis;

import javax.inject.Named;

import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.dao.support.PersistenceExceptionTranslator;

@Named("sqlSession")
public class MyFrameworkSqlSession extends SqlSessionTemplate {

	public MyFrameworkSqlSession(SqlSessionFactory sqlSessionFactory) {
		super(sqlSessionFactory);
	}
    public MyFrameworkSqlSession(SqlSessionFactory sqlSessionFactory, ExecutorType executorType) {
    	super(sqlSessionFactory,executorType);
    }
    public MyFrameworkSqlSession(SqlSessionFactory sqlSessionFactory, ExecutorType executorType,
            PersistenceExceptionTranslator exceptionTranslator) {

    	super(sqlSessionFactory,executorType,exceptionTranslator);
    }
}
